<?php
/**
 * Created by xiaosong
 * E-mail:4155433@gmail.com
 * Date: 2019/9/25
 * Time: 15:06
 */

namespace App\Admin\Controllers\base;


use App\Services\im\ImService;
use Encore\Admin\Controllers\AdminController;

class ImController extends AdminController
{
    public function info()
    {

    }


    public function getToken()
    {
        return success(ImService::getToken(auth('admin')->id(),true));
    }
    
}